
TARGET = sample_lindnet

SRC = sample_lindnet.c

LOCAL_INCLUDE = -I$(FRAMEWORK_DIR)/base/lindutils \
	-I$(OUT_DIR)/include

LOCAL_LIBRIARY = -lpthread \
    -L$(OUT_DIR)/lib/ \
    -lldutils -lldnet

all:
	$(CC) $(SRC) -o $(TARGET) $(LOCAL_LIBRIARY) $(LOCAL_INCLUDE)
	$(INSTALL) $(TARGET) $(OUT_DIR)/bin/$(TARGET)
	rm -rf $(TARGET) $(OBJFILE)

clean:
	rm -rf $(OUT_DIR)/bin/$(TARGET)
